package cmd

import (
	"fmt"
	"github.com/spf13/cobra"
	"os"
)

var confInfoCmd = &cobra.Command{
	Use: "info",
	Run: func(cmd *cobra.Command, args []string) {
		file, err := os.ReadFile("./user.conf.yaml")
		if err != nil {
			fmt.Println("Error:", err)
			return
		}
		fmt.Printf("aicmd info:\r\n%s", file)
	},
}

func init() {
	rootCmd.AddCommand(confInfoCmd)
}
